﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VueAndNetCoreEfApi.PoModel.SystemAdmin
{
    //外协单位管理表
    [Table("Outsource")]
    public class OutsourcePo
    {
        public OutsourcePo() { }

        [Key]
        public int os_id { get; set; }//外协单位ID
        /// <summary>
        /// 外协单位名称
        /// </summary>
        public string os_name { get; set; }
        /// <summary>
        /// 外协单位邮箱地址
        /// </summary>
        public string os_email { get; set; }
        /// <summary>
        /// 外协单位固定电话
        /// </summary>
        public string os_phone { get; set; }
        /// <summary>
        /// 外协单位手机号
        /// </summary>
        public string os_tel { get; set; }
        /// <summary>
        /// 外协单位地址
        /// </summary>
        public string os_address { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public string os_remark { get; set; }
        public DateTime os_createtime { get; set; }

        public string os_createtime2 => os_createtime.ToString();
    }
}
